luci-app-pagekitec: add missing ACL rules
authorJo-Philipp Wich <[email protected]>
Thu, 19 Oct 2023 22:31:50 +0000 (00:31 +0200)
committerJo-Philipp Wich <[email protected]>
Thu, 19 Oct 2023 22:31:50 +0000 (00:31 +0200)
Fixes: #6615
Signed-off-by: Jo-Philipp Wich <[email protected]>
applications/luci-app-pagekitec/root/usr/share/rpcd/acl.d/luci-app-pagekitec.json [new file with mode: 0644]

diff --git a/applications/luci-app-pagekitec/root/usr/share/rpcd/acl.d/luci-app-pagekitec.json b/applications/luci-app-pagekitec/root/usr/share/rpcd/acl.d/luci-app-pagekitec.json
new file mode 100644 (file)
index 0000000..4dd9adc
--- /dev/null
@@ -0,0 +1,11 @@
+{
+       "luci-app-pagekitec": {
+               "description": "Grant UCI access for luci-app-pagekitec",
+               "read": {
+                       "uci": [ "pagekitec" ]
+               },
+               "write": {
+                       "uci": [ "pagekitec" ]
+               }
+       }
+}